const Router = require('koa-router');

const { verifyLogin } = require('../middleware/auth.middleware');

const { login } = require('../controller/auth.controller');

const authRouter = new Router({prefix: '/login'});

authRouter.post('/', verifyLogin, login)

module.exports = authRouter